package cn.edu.nuc.creditSystem.bean;

import java.util.List;
/**
 * 树形结构bean
 * @author xww
 *
 */
public class TreeBean extends BaseBean{
	/**
	 * 菜单名
	 */
	private String text;
	
	private Boolean checked=false;
	
	private String ptext;
	
	private Integer pid;
		
	private List<TreeBean> children;

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public List<TreeBean> getChildren() {
		return children;
	}

	public void setChildren(List<TreeBean> children) {
		this.children = children;
	}

	public String getPtext() {
		return ptext;
	}

	public void setPtext(String ptext) {
		this.ptext = ptext;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public TreeBean(Integer id,String text){
		super.setId(id);
		this.text = text;
	}

	public TreeBean() {
		super();
	}
	
}
